package com.erytech.linktalk.dao.ibatis;

import com.erytech.linktalk.dao.SiteDao;
import com.erytech.linktalk.dao.domain.Site;
import com.ibatis.dao.client.DaoManager;
import com.ibatis.dao.client.template.SqlMapDaoTemplate;

public class SqlMapSiteDao extends SqlMapDaoTemplate implements SiteDao {

	public SqlMapSiteDao(DaoManager daoManager) {
		super(daoManager);
	}

	public Site getSite(String domain) {
		return (Site)queryForObject("getSiteByDomain", domain);
	}

}
